/** * Copyright (c) 2020 kedacom * OpenATC is licensed under Mulan PSL v2. * You
can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at: *
http://license.coscl.org.cn/MulanPSL2 * THIS SOFTWARE IS PROVIDED ON AN "AS IS"
BASIS, WITHOUT WARRANTIES OF ANY KIND, * EITHER EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO NON-INFRINGEMENT, * MERCHANTABILITY OR FIT FOR A PARTICULAR
PURPOSE. * See the Mulan PSL v2 for more details. **/
<template>
  <svg
    id="方案状态全"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    width="239"
    height="100"
    viewBox="0 0 239 100"
  >
    <defs>
      <filter
        id="filter"
        x="7584"
        y="1574"
        width="237"
        height="98"
        filterUnits="userSpaceOnUse"
      >
        <feOffset result="offset" in="SourceAlpha" />
        <feGaussianBlur result="blur" stdDeviation="3.742" />
        <feFlood result="flood" flood-color="#091b23" flood-opacity="0.52" />
        <feComposite result="composite" operator="in" in2="blur" />
        <feBlend result="blend" in="SourceGraphic" />
      </filter>
    </defs>
    <g
      transform="translate(-7583 -1573)"
      style="fill: #fff; filter: url(#filter)"
    >
      <path
        id="背景"
        class="cls-1"
        d="M7777,1647h-67.45l-7.55,11-7.56-11H7627a30,30,0,0,1,0-60h150A30,30,0,0,1,7777,1647Z"
        style="stroke: inherit; filter: none; fill: inherit"
      />
    </g>
    <use
      transform="translate(-7583 -1573)"
      xlink:href="#背景"
      style="stroke: #299bcc; filter: none; fill: none"
    />
    <path
      id="分割线"
      class="cls-7"
      d="M7673,1589h2v56h-2v-56Z"
      transform="translate(-7583 -1573)"
    />
  </svg>
</template>
<script>
import xdrdirselector from '../../XRDDirSelector'
export default {
  name: 'PatternStateFull',
  components: {
    xdrdirselector
  },
  data () {
    return {}
  },
  props: {
    dirshow: {
      type: Array,
      default: () => []
    },
    params: {
      type: Object,
      default: function () {
        return {
          countdown: 0,
          split: 0,
          control: 0,
          cycle: 0,
          offset: 0,
          curpattern: 'NO PLAN'
        }
      }
    },
    showLevel: {
      type: Number,
      default: 3
    },
    backgroundColor: {
      type: String,
      default: '#fff'
    }
  },
  methods: {},
  mounted () {}
}
</script>
<style scoped>
.cls-1 {
    fill: #fff;
    fill-opacity: 0.8;
    stroke: #299bcc;
    stroke-linecap: round;
    stroke-width: 2px;
    filter: url(#filter);
}

.cls-1,
.cls-2,
.cls-7 {
    fill-rule: evenodd;
}

.cls-2,
.cls-3 {
    fill: #f31e1e;
}

.cls-3 {
    font-size: 26px;
    font-family: DS-Digital;
}

.cls-3,
.cls-4,
.cls-5,
.cls-6 {
    text-anchor: middle;
}

.cls-4 {
    font-size: 14px;
}

.cls-4,
.cls-6 {
    fill: #06547a;
}

.cls-4,
.cls-5,
.cls-6 {
    font-family: "Source Han Sans CN";
}

.cls-5,
.cls-6 {
    font-size: 13px;
}

.cls-5 {
    fill: #303133;
}

.cls-7 {
    fill: #c5d7df;
    opacity: 0.3;
}
.dirwrap {
  position:absolute;
  top: 7PX;
  left: 7PX;
  width: 40PX;
  height: 39PX;
  z-index: 9;
}
</style>
